import QtQuick 2.2
import QtQuick.Window 2.1

Window {
    visible: true
    width: 1500
    height: 900

    Rectangle {
        anchors.fill: parent;

        MouseArea {
            anchors.fill: parent
            onPositionChanged: {
                parent.color = Qt.rgba((mouse.x % 255) / 255.0, (mouse.y % 255) / 255.0, 0.6, 1.0);
            }
        }
    }

}
